<div id="user_menu">
	<div class="container_24">
		<div class="grid_24">
			<?php echo $this->renderPartial('_menu', array('title'=>'Yii Rock!')); ?>
		</div>	
	</div>
</div>
<div class="clear"></div>

<div id="modules_list" class="container_24">
	<div class="form">

	<?php $form=$this->beginWidget('CActiveForm', array(
		'id'=>'themes-form',
		'enableClientValidation'=>true,
		'clientOptions'=>array(
			'validateOnSubmit'=>true,
		),
	)); ?>
	
		<p class="note">Fields with <span class="required">*</span> are required.</p>
	
		<?php $this->widget('zii.widgets.grid.CGridView', array(
			'dataProvider'=>$dataProvider,
			'cssFile'=>false,
			'columns'=>array(
				array(
                    'class'=>'CCheckBoxColumn',	 
					'header'=>'Active',
					'id'=>'selected_themes',
					'checked'=>'($data["status"] > 0)?true:false',
					'selectableRows'=>2           
                ),
		        'id',
				'name',
				'version',
                'screenshot',
				'description'
		    ),
		)); ?>
	
		<div class="row buttons">
			<?php echo CHtml::submitButton('Save configuration'); ?>
		</div>
	
	<?php $this->endWidget(); ?>
	
	</div><!-- form -->
</div>